Filter hook 'term_links-{$taxonomy}'
in WP Core File wp-includes/category-template.php at line 1375
Description
Filters the term links for a given taxonomy. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `term_links-category` - `term_links-post_tag` - `term_links-post_format`
Occurrences
Filename |
Line Number |
wp-includes/category-template.php |
1375 |
Parameters
Type |
Name |
Description |
string[] |
$links |
An array of term links. |
PHP Doc
/**
* Filters the term links for a given taxonomy.
*
* The dynamic portion of the hook name, `$taxonomy`, refers
* to the taxonomy slug.
*
* Possible hook names include:
*
* - `term_links-category`
* - `term_links-post_tag`
* - `term_links-post_format`
*
* @since 2.5.0
*
* @param string[] $links An array of term links.
*/